package com.quwan.common.result;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author lt
 * @Date 2021/12/1 11:28 上午
 */
@ApiModel("oss上传返回类")
public class OssResultDTO {
    @ApiModelProperty(value = "上传文件字段名")
    private String fieldName; //上传文件字段名
    @ApiModelProperty("上传文件原始名称")
    private String originalName; //上传文件原始名称
    @ApiModelProperty("云服务器上新的名称")
    private String newName; //云服务器上新的名称
    @ApiModelProperty("云服务器上相对路径")
    private String relativePath; //云服务器上相对路径
    @ApiModelProperty("绝对路径")
    private String absPath; //绝对路径
    @ApiModelProperty("后缀名")
    private String suffix; //后缀名

    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

    public String getOriginalName() {
        return originalName;
    }

    public void setOriginalName(String originalName) {
        this.originalName = originalName;
    }

    public String getNewName() {
        return newName;
    }

    public void setNewName(String newName) {
        this.newName = newName;
    }

    public String getRelativePath() {
        return relativePath;
    }

    public void setRelativePath(String relativePath) {
        this.relativePath = relativePath;
    }

    public String getAbsPath() {
        return absPath;
    }

    public void setAbsPath(String absPath) {
        this.absPath = absPath;
    }

    public String getSuffix() {
        return suffix;
    }

    public void setSuffix(String suffix) {
        this.suffix = suffix;
    }
}
